Optimal. Leaf size=88 \[ -\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{3/2}}{24 c^3 d^3}-\frac {\left (b^2-4 a c\right )^2}{16 c^3 d \sqrt {b d+2 c d x}}+\frac {(b d+2 c d x)^{7/2}}{112 c^3 d^5} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {683} \begin {gather*} -\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{3/2}}{24 c^3 d^3}-\frac {\left (b^2-4 a c\right )^2}{16 c^3 d \sqrt {b d+2 c d x}}+\frac {(b d+2 c d x)^{7/2}}{112 c^3 d^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 683
Rubi steps
\begin {align*} \int \frac {\left (a+b x+c x^2\right )^2}{(b d+2 c d x)^{3/2}} \, dx &=\int \left (\frac {\left (-b^2+4 a c\right )^2}{16 c^2 (b d+2 c d x)^{3/2}}+\frac {\left (-b^2+4 a c\right ) \sqrt {b d+2 c d x}}{8 c^2 d^2}+\frac {(b d+2 c d x)^{5/2}}{16 c^2 d^4}\right ) \, dx\\ &=-\frac {\left (b^2-4 a c\right )^2}{16 c^3 d \sqrt {b d+2 c d x}}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{3/2}}{24 c^3 d^3}+\frac {(b d+2 c d x)^{7/2}}{112 c^3 d^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 91, normalized size = 1.03 \begin {gather*} \frac {c^2 \left (-21 a^2+14 a c x^2+3 c^2 x^4\right )+b^2 c \left (14 a+c x^2\right )+2 b c^2 x \left (7 a+3 c x^2\right )-2 b^4-2 b^3 c x}{21 c^3 d \sqrt {d (b+2 c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.10, size = 103, normalized size = 1.17 \begin {gather*} \frac {\left (-21 a^2 c^2+14 a b^2 c+14 a b c^2 x+14 a c^3 x^2-2 b^4-2 b^3 c x+b^2 c^2 x^2+6 b c^3 x^3+3 c^4 x^4\right ) \sqrt {b d+2 c d x}}{21 c^3 d^2 (b+2 c x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.39, size = 105, normalized size = 1.19 \begin {gather*} \frac {{\left (3 \, c^{4} x^{4} + 6 \, b c^{3} x^{3} - 2 \, b^{4} + 14 \, a b^{2} c - 21 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 14 \, a c^{3}\right )} x^{2} - 2 \, {\left (b^{3} c - 7 \, a b c^{2}\right )} x\right )} \sqrt {2 \, c d x + b d}}{21 \, {\left (2 \, c^{4} d^{2} x + b c^{3} d^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 109, normalized size = 1.24 \begin {gather*} -\frac {b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}}{16 \, \sqrt {2 \, c d x + b d} c^{3} d} - \frac {14 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b^{2} c^{18} d^{32} - 56 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} a c^{19} d^{32} - 3 \, {\left (2 \, c d x + b d\right )}^{\frac {7}{2}} c^{18} d^{30}}{336 \, c^{21} d^{35}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 96, normalized size = 1.09 \begin {gather*} -\frac {\left (2 c x +b \right ) \left (-3 c^{4} x^{4}-6 b \,c^{3} x^{3}-14 a \,c^{3} x^{2}-x^{2} b^{2} c^{2}-14 a b \,c^{2} x +2 x \,b^{3} c +21 a^{2} c^{2}-14 a \,b^{2} c +2 b^{4}\right )}{21 \left (2 c d x +b d \right )^{\frac {3}{2}} c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.40, size = 89, normalized size = 1.01 \begin {gather*} -\frac {\frac {21 \, {\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )}}{\sqrt {2 \, c d x + b d} c^{2}} + \frac {14 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} {\left (b^{2} - 4 \, a c\right )} d^{2} - 3 \, {\left (2 \, c d x + b d\right )}^{\frac {7}{2}}}{c^{2} d^{4}}}{336 \, c d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.49, size = 99, normalized size = 1.12 \begin {gather*} \frac {3\,{\left (b\,d+2\,c\,d\,x\right )}^4-21\,b^4\,d^4-14\,b^2\,d^2\,{\left (b\,d+2\,c\,d\,x\right )}^2-336\,a^2\,c^2\,d^4+56\,a\,c\,d^2\,{\left (b\,d+2\,c\,d\,x\right )}^2+168\,a\,b^2\,c\,d^4}{336\,c^3\,d^5\,\sqrt {b\,d+2\,c\,d\,x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 30.23, size = 82, normalized size = 0.93 \begin {gather*} - \frac {\left (4 a c - b^{2}\right )^{2}}{16 c^{3} d \sqrt {b d + 2 c d x}} + \frac {\left (4 a c - b^{2}\right ) \left (b d + 2 c d x\right )^{\frac {3}{2}}}{24 c^{3} d^{3}} + \frac {\left (b d + 2 c d x\right )^{\frac {7}{2}}}{112 c^{3} d^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________